Working with the Prizm Platform Services > API Reference > PCC RESTful API > Health Status |
Returns the following HTTP status codes to reflect the overall health of the Prizm Services:
This URL is intended to provide a quick, easily parseable indication as to the health of Prizm Services. For more information about the current health, use GET /Service/Current/Info.
Http Method
GET
Resource URL
/PCCIS/V1/Service/Current/Health
Parameters
None
Request Body
None
Response Body
None
Example |
Copy Code
|
---|---|
GET http://localhost:18681/PCCIS/V1/Service/Current/Health
|
Example Response |
Copy Code
|
---|---|
200 OK |
This API returns a JSON object indicating the health of Prizm Services.
Http Method
GET
Resource URL
/PCCIS/V1/Service/Current/Info
Parameters
None
Request Body
None
Response Body
If successful, this method returns the following properties:
Property Name |
Value |
Description |
serviceStatus |
String |
Status of Prizm Services.
|
licenseStatus |
String |
Information about the PCC license.
|
instances |
list |
Information about individual instances of Prizm Services. In the current version, only one instance will be returned. |
Example |
Copy Code
|
---|---|
GET http://localhost:18681/PCCIS/V1/Service/Current/Info
|
Example Response |
Copy Code
|
---|---|
{ "serviceStatus":"running", "licenseStatus":"licensed as ...", "instances":[ { "serviceStatus":"running", "pccisVersion":"x.x.x.x", "runtimeVersion":"x.x.x.x", "operatingSystem":"Microsoft Windows NT 6.1.7601 Service Pack 1", "startTime":"2014-07-21T20:19:06.6663597Z", "instanceId":"myhostname", "childServices":[ { "name":"PCC Imaging Proxy Server", "serviceStatus":"running", "version":"x.x.x.x" }, { "name":"PCC Imaging Conversion Service", "serviceStatus":"running", "version":"x.x.x.x" }, { "name":"PCC Raster Conversion Service", "serviceStatus":"running", "version":"x.x.x.x" } ] } ] |